<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="userdata.User"%>
   <jsp:useBean id="user" class="userdata.User" scope="session" />
    
<% request.setAttribute("title", "Home");%>

<% user = (User) request.getAttribute("data"); %>
    
<%@include file="/WEB-INF/html/header.jsp" %>

<h1>Welcome <%= user.getInitials() %></h1>
<br>
<p>Name: <%= user.getOprName() %></p>
<br>
<p>Id: <%= user.getOprId() %></p>
<br>
<p>Initials: <%= user.getInitials() %></p>
<br>
<p>CPR: <%= user.getCpr() %></p>
<br>

<%@include file="/WEB-INF/html/footer.jsp" %>